#import "SSProcessInfo.h"
#import <sys/sysctl.h>
@implementation SSProcessInfo
+ (int)processID {
    @try {
        int pid = getpid();
        if (pid <= 0) {
            return -1;
        }
        return pid;
    }
    @catch (NSException *exception) {
        return -1;
    }
}
@end
